package net.zarubsys.unianalyzer.preferences;

import org.eclipse.jface.preference.*;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.IWorkbench;
import net.zarubsys.unianalyzer.plugin.UnianalyzerPlugin;

public class OtherPreferencePage extends FieldEditorPreferencePage 
	implements IWorkbenchPreferencePage {

	public OtherPreferencePage() {
		super(GRID);
		setPreferenceStore(UnianalyzerPlugin.getDefault().getPreferenceStore());
		setDescription(Messages.getString("OtherPreferencePage.name")); //$NON-NLS-1$
	}
	
	public void createFieldEditors() {
		addField(new BooleanFieldEditor(PreferenceConstants.PROMPT_ON_EXIT,
				Messages.getString("OtherPreferencePage.promptOnExit"), //$NON-NLS-1$
				getFieldEditorParent()));
	}

	public void init(IWorkbench workbench) {
	}
	
}